SGGetVideoCompressorType
TheSGGetVideoCompressorType
function allows the sequence grabber component to determine the type of image compression that is being applied to your channel's
video data.
pascal ComponentResult SGGetVideoCompressorType (SGChannel c, OSType *compressorType);
c
- Identifies the channel connection for this operation.
compressorType
- Contains a pointer to an
OSType
field that is to receive information about the type of image compression to use. Return a value that corresponds to one of the image-compression types supported by the Image Compression Manager. Currently, sixCodecType
values are provided by Apple. You should use theGetCodecNameList
function to retrieve these names, so that your application can take advantage of new compressor types that may be added in the future. For eachCodecType
value in the following list, the corresponding compression method is also identified by its text string name.
Compressor type Compressor name 'rpza' video compressor 'jpeg' photo compressor 'rle ' animation compressor 'raw ' raw compressor 'smc ' graphics compressor 'cvid '
compact video compressor - See the chapter "Image Compression Manager" in Inside Macintosh: QuickTime for information about valid compressor types. If this value is set to 0, its default compression type is selected.
SEE ALSO
The sequence grabber component can set the image-compression type by calling theSGSetVideoCompressorType
function, which is described in the previous section.
Main | Top of Section | What's New | Apple Computer, Inc. | Find It | Feedback | Help